home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_075 / dum2 / src / dutypefi.def < prev    next >
Text File  |  1992-05-06  |  1KB  |  37 lines

  1. DEFINITION MODULE DuTypefile;
  2.  
  3.  
  4. (* Written by Greg Browne from ideas in duIII.c - many thanks to
  5.      Chris Nicotra, Dave Jobusch, Ed Alford, and many others whose
  6.      names I have not seen on the source files who have worked on
  7.      the development and extension of that fine directory utility program.
  8.  
  9.    PURPOSE    A self-contained, IMPORTable pair of procedures to allow
  10.         a screen display - or printer copy - in Hex or ASCII of
  11.         any disk files.
  12.    
  13.    CHANGES    1/24/87        Built original.
  14.  
  15.                                     *)
  16.  
  17. (*COMMENTS*)
  18.  
  19. (* This module tries to open the DOSLibrary for use in case it is not open.
  20.    IT DOES NOT CLOSE IT.  The user is left with that chore.        *)
  21.  
  22. (* All constants and variables are internal.  Nothing but two PROCEDURES
  23.    are available to the user.                        *)
  24.  
  25.  
  26.  
  27. PROCEDURE DisplayASCII(VAR filnam:ARRAY OF CHAR;ToScreen:BOOLEAN);
  28. (*    Produces an ASCII dump of a file - either to the screen,
  29.      if ToScreen is TRUE, or to the PRT: device if ToScreen
  30.      is FALSE.  The filename is any literal or variable    *)
  31.  
  32. PROCEDURE DisplayHex(VAR filnam:ARRAY OF CHAR;ToScreen:BOOLEAN);
  33. (*    Same stuff only in 'filezap' style hex dump format    *)
  34.  
  35.  
  36. END DuTypefile.
  37.